/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mail;

/**
 *
 * @author ayca
 */
public class SendMailTest {
public static void main(String[] args) throws Exception {

String from = "ayycaaa@gmail.com";
		String []to = {"ayycaaa@gmail.com","aydemirfb@gmail.com","nadinkokciyan@gmail.com"};
		String subject = "Hello";
		String message = "cotrans@gmail.com is not available :( Btw I'm sending mails via java mail api";

try{		
    //SendMail sendMail = new SendMail(to, subject,message,from);
		
}catch(Exception e){
    e.printStackTrace();
}

}
}
